package com.ruoyi.controller;


import com.ruoyi.request.MyShortFlowingWaterRequest;
import com.ruoyi.request.MyShortVideoRequest;
import com.ruoyi.service.MyShortFlowingWater;
import com.ruoyi.service.MyShortVideoService;
import com.ruoyi.util.JsonData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * 用户流水
 *
 * @author zunzun
 * @date 2023-11-22
 */
@RestController
@RequestMapping("/api/shortFlowingWater")
public class MyShortFlowingWaterController {

    @Autowired
    MyShortFlowingWater myShortFlowingWater;

    /**
     * 查询用户流水分页
     */
    @GetMapping("/list")
    public JsonData list(MyShortFlowingWaterRequest MyShortFlowingWaterRequest)
    {
        Map<String,Object> list = myShortFlowingWater.selectMyShortFlowingWaterList(MyShortFlowingWaterRequest);
        return JsonData.buildSuccess(list);
    }

}
